package cn.itsource.user.service;

import cn.itsource.basic.exception.CustomException;
import cn.itsource.basic.service.IBaseService;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.user.domain.LoginInfo;
import cn.itsource.user.domain.dto.LogininfoDto;

public interface ILogininfoService extends IBaseService<LoginInfo> {
    void register(LogininfoDto logininfoDto) throws CustomException;

    AjaxResult login(LogininfoDto logininfoDto) throws CustomException;
}
